import { createRouter,createWebHistory } from 'vue-router';
import Home from '../src/views/Home.vue';
import List from '../src/views/List.vue';
import Personal_homepage from '../src/views/Personal_homepage.vue';
const router =createRouter({
    history: createWebHistory(),
    routes:[
        {
            path:'/',
            name:Home,
            component:Home
        },
        {
            path:'/List',
            name:List,
            component:List
        },
        {
            path:'/Personal_homepage',
            name:Personal_homepage,
            component:Personal_homepage
        }
    ]
})

export default router